#include <cstdio>
#include <cmath>

#define eps 1e-8

double dis( double x1, double y1, double x2, double y2 )
{
    return sqrt( ( x1 - x2 ) * ( x1 - x2 ) + ( y1 - y2 ) * ( y1 - y2 ) );
}

int main( )
{
    double x1, y1, x2, y2, lx, ly, vd, vb, l, left, right, mid, x, y, d, ds;
    while ( scanf("%lf%lf%lf%lf%lf%lf%lf%lf%lf", &x1, &y1, &x2, &y2, &lx, &ly, &vd, &vb, &l) )
    {
        if ( x1 == 0 && y1 == 0 && x2 == 0 && y2 == 0 && lx == 0 && ly == 0 && vd == 0 && vb == 0 && l == 0 )
            break;
        left = 0; right = 1000000000;
        while ( fabs( left - right ) > eps )
        {
            mid = ( left + right ) / 2;
            x = mid * lx + x1;
            y = mid * ly + y1;
            d = dis( x2, y2, x, y );
            if ( d <= l )
                ds = l - d;
            else
                ds = d - l;
            if ( ds / vd + l / vb <= mid )
                right = mid;
            else
                left = mid;
        }
        printf("%.3lf %.3lf\n", l, left);
    }
    return 0;
}
